package com.un.ebs.sale.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (SaleOrderDeliverPlanItemExt)表实体类
 *
 * @author liubo
 * @since 2020-07-31 23:10:38
 */
@Data
@Component
@TableName("v_sale_order_deliver_plan_item_ext")
@SuppressWarnings("serial")
public class SaleOrderDeliverPlanItemExt extends Model<SaleOrderDeliverPlanItemExt> {


    @DbField(name = "order_id", length = 40, precision = 0)
    private String orderId;

    @DbField(name = "code", length = 100, precision = 0)
    private String code;

    @DbField(name = "customer_ent_id", length = 40, precision = 0)
    private String customerEntId;

    @DbField(name = "customer_ent_name", length = 40, precision = 0)
    private String customerEntName;

    @DbField(name = "contract_code", length = 100, precision = 0)
    private String contractCode;

    @DbField(name = "plan_deliver_date", length = -1, precision = 0)
    private Date planDeliverDate;

    @DbField(name = "sku_id", length = 40, precision = 0)
    private String skuId;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "name_as", length = 2100, precision = 0)
    private String nameAs;

    @DbField(name = "sale_count", length = 38, precision = 4)
    private Double saleCount;

    @DbField(name = "inventory_count", length = 38, precision = 6)
    private Double inventoryCount;

    @DbField(name = "deliver_count", length = 38, precision = 4)
    private Double deliverCount;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;

    @DbField(name = "diff_count", length = 38, precision = 4)
    private Double diffCount;


}